<template>
  <div>
    <!-- <h1>这是首页页面展示的数字{{count}}</h1>
    <button @click="add">给count的数字加1</button>&nbsp;
    <button @click="addPlus">计算加加</button> -->
    <TypeNav></TypeNav>
    <ListContainer></ListContainer>
    <TodayRecommend></TodayRecommend>
    <Rank></Rank>
    <Like></Like>
    <Floor></Floor>
    <Brand></Brand>
  </div>
</template>

<script>
import TypeNav from './TypeNav'
import ListContainer from './ListContainer'
import TodayRecommend from './TodayRecommend'
import Rank from './Rank'
import Like from './Like'
import Floor from './Floor'
import Brand from './Brand'

export default {
  name :'Home',
  components:{
      TypeNav,ListContainer,
      TodayRecommend,
      Rank,Like,
      Floor,
      Brand
  },
  methods: {
  
  },
  computed:{
   
  },
  mounted() {
   
    //在axction中派发dispatch任务，
    this.$store.dispatch('getCategory')
  },
}
</script>

<style>
</style>